﻿define(['plugins/router'], function (router) {
    return {
        router: router,
        activate: function () {
            return router.map([
                { route: ['', 'album*details'],                          moduleId: 'album/index',                title: '图片/相册',           nav: true },
                // { route: 'binds*details',                       moduleId: 'binds/index',                title: 'KO Binds',              nav: true },
            ]).buildNavigationModel()
              .mapUnknownRoutes('album/index', 'not-found')
              .activate();
        }
    };
});
